#include <vector>
#include <iterator>
#include <iostream>

using namespace std;

template <typename IteratorType>
void iteratorTraitsTest(IteratorType it)
{
	typename iterator_traits<IteratorType>::value_type temp;
	temp = *it;
	// auto temp{ *it };
	
	cout << temp << endl;
}

int main()
{
	vector v{5,6,7};
	// auto cIterator =  cbegin(v);
	iteratorTraitsTest(cbegin(v));
}
